import BaseTemplate from "@/components/layout/BaseTemplate.vue";

export default [
  {
    path: "/technology",
    name: "technologyTemplate",
    component: BaseTemplate,
    children: [
      {
        path: "homemade-category",
        name: "homemadeCategory",
        component: () =>
          import(
            /* webpackChunkName: "homemadeCategory" */ "@/views/technology/BasicCategoryHomemade.vue"
          ),
        meta: {
          title: "自制件类别",
        },
      },
      {
        path: "self-made-code",
        name: "selfMadeCode",
        component: () =>
          import(
            /* webpackChunkName: "selfMadeCode" */ "@/views/technology/Homemade.vue"
          ),
        meta: {
          title: "自制件编码维护",
        },
      },
      {
        path: "process-category",
        name: "processCategory",
        component: () =>
          import(
            /* webpackChunkName: "processCategory" */ "@/views/technology/BasicCategoryProcess.vue"
          ),
        meta: {
          title: "工序类别",
        },
      },
      {
        path: "process-maintenance",
        name: "processMaintenance",
        component: () =>
          import(
            /* webpackChunkName: "processMaintenance" */ "@/views/technology/Process.vue"
          ),
        meta: {
          title: "工序维护",
        },
      },
      {
        path: "test-items",
        name: "testItems",
        component: () =>
          import(
            /* webpackChunkName: "testItems" */ "@/views/technology/QualityTestItems.vue"
          ),
        meta: {
          title: "质检项目维护",
        },
      },
      {
        path: "quality-inspection-define",
        name: "QualityInspectionDefine",
        component: () =>
          import(
            /* webpackChunkName: "QualityInspectionDefine" */ "@/views/technology/QualityInspectionDefineReceipt.vue"
          ),
        meta: {
          title: "质检方案维护",
        },
      },
      {
        path: "process-plan-maintenance",
        name: "ProcessPlanMaintenance",
        component: () =>
          import(
            /* webpackChunkName: "ProcessPlanMaintenance" */ "@/views/technology/ProcessPlanMaintenanceReceipt.vue"
          ),
        meta: {
          title: "工艺方案维护",
        },
      },
      {
        path: "bom-maintenance",
        name: "BomMaintenance",
        component: () =>
          import(
            /* webpackChunkName: "BomMaintenance" */ "@/views/technology/BomMaintenanceReceipt.vue"
          ),
        meta: {
          title: "BOM维护",
        },
      },
    ],
  },
];
